package com.yand.thinkingInJava.thinkingInJava21;


import com.yand.thinkingInJava.Aa;
import com.yand.thinkingInJava.MyThread;

public class Test {


    public static void main(String [] args){

        Aa aa = new Aa();

        Thread t1 = new MyThread(aa);


        Thread t2 = new MyThread(aa);

        t1.start();
        try {
            Thread.sleep(20);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }

        t2.start();


    }


}
